package com.xh.bussiness.tms.dao;

import com.xh.bussiness.system.bean.dto.StudentDto;
import com.xh.bussiness.tms.bean.request.ClassRequest;
import com.xh.bussiness.tms.model.Class;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xh.core.bean.XhPage;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 班级表 Mapper 接口
 * </p>
 *
 * @author daiwei
 * @since 2019-02-23
 */
public interface ClassMapper extends BaseMapper<Class> {

    XhPage<Class> queryPage(XhPage page, @Param("bean") ClassRequest bean);

    XhPage<StudentDto> queryStudentByClassId(XhPage page,@Param("classId") String classId,@Param("name") String name);
}
